package cn.jiyun.provider.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

import java.util.Date;

@Data
public class Emp {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private String name;
    private String userName;
    private String password;
    private Integer age;
    private Date createTime;
    private Integer did;
    @Version
    private Integer isDeleted;

    @TableField(exist = false)
    private String dname;
}
